package cn.qidd.keep.domain.document;

import cn.qidd.keep.domain.core.dict.ProductStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document(collection = "product")
public class Product implements Serializable {

    @Id
    private String id;
    @ApiModelProperty("产品名称")
    private String productName;
    @ApiModelProperty("产品内容")
    private String productContent;
    @ApiModelProperty("产品价格")
    private Double productPrice;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("产品状态")
    private ProductStatus productStatus;
    @ApiModelProperty("是否删除")
    private Boolean isDelete;
    @ApiModelProperty("产品创建时间")
    private Date createTime;

    private Date operatorTime;
    private String operatorName;
    private String operatorRealName;
}
